{layout name="layout" /}

<div class="row">
    <div class="col-md-12">
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title"><i class="fa fa-user"></i> 新增用户</h3>
            </div>
            <form class="form-horizontal" method="post" action="_ROOT_/admin/sysuser/save"
                  enctype="multipart/form-data">
                <div class="box-body">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">姓名：</label>
                        <div class="col-sm-9">
                            <span class="form-control">{$sysuser.name}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">用户名：</label>
                        <div class="col-sm-9">
                            <span class="form-control">{$sysuser.username}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">手机号：</label>
                        <div class="col-sm-9">
                            <span class="form-control">{$sysuser.phone}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">邮箱：</label>
                        <div class="col-sm-9">
                            <span class="form-control">{$sysuser.email}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">性别：</label>
                        <div class="col-sm-9">
                            <span class="form-control">{$sysuser.sex}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">状态：</label>
                        <div class="col-sm-9">
                            <span class="form-control">{$sysuser.status}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">头像：</label>
                        <div class="col-sm-9">
                            <img src="{$sysuser.avatar}" style="max-width: 400px; max-height: 200px;"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">备注：</label>
                        <div class="col-sm-9">
                            <span class="form-control">{$sysuser.remark}</span>
                        </div>
                    </div>
                </div>
                <div class="box-footer" style="text-align: right">
                    <a href="javascript:history.go(-1)" type="button" class="btn btn-default">返回</a>
                </div>
            </form>
        </div>
    </div>
</div>
